use "/Users/christopherwitko/Dropbox/Chrisdocuments/data/deindustrialization/USnational/BJPSrandr/Witkofinancializationdata.dta"

***variables for main results (for detailed explanations see article): fireperc=percentage of GDP from FIRE sector; demcont=democratic control variable; uniondense=union density, FIREmob= FIRE political mobilization; realnfpgro = real non-financial corporate profits growth rate; inflation = inflation rate; options = stock options; fedfrvol = federal funds rate volatility; dereg = deregulation; profvotegap= gap in Dem Pres. candidate support between professionals and non-professionals******* 


***supplemental file results (see supplemental file for variable details)*****

**ideology models (presdwnom1=president's 1st dimension DW-Nominate score; housemeddw1= house median DW nom score; senmeddw1=senate media score, filpivotdw1= filibuster pivot DW nom score)****

reg d.fireperc l.fireperc d.presdwnom1 l.presdwnom1 d.housemeddw1 l.housemeddw1 d.senmeddw1 l.senmeddw1 d.uniondense l.uniondense d.FIREmob l.FIREmob d.realnfpgro l.realnfpgro d.inflation l.inflation d.options l.options


reg d.fireperc l.fireperc d.presdwnom1 l.presdwnom1 d.housemeddw1 l.housemeddw1 d.filpivotdw1 l.filpivotdw1 d.uniondense l.uniondense d.FIREmob l.FIREmob d.realnfpgro l.realnfpgro d.inflation l.inflation d.options l.options


**alternative party coding models (dempres=1 if pres is Democrat; unifdemcong = 1 if Dems have unified control of Congress; demhouse, demsen= 1 if Dems control institution; demcong=2 if Dems control both houses, 1 if divided and 0 if GOP controls both; cdpercen_01= percentage of Congressional seats held by Dems)*****

reg d.fireperc l.fireperc d.dempres l.dempres d.unifdemcong l.unifdemcong d.uniondense l.uniondense d.FIREmob l.FIREmob d.options  l.options d.realnfpgro l.realnfpgro d.inflation l.inflation 

reg d.fireperc l.fireperc d.dempres l.dempres d.demhouse l.demhouse d.demsen l.demsen d.uniondense l.uniondense d.FIREmob l.FIREmob d.options  l.options d.realnfpgro l.realnfpgro d.inflation l.inflation 

reg d.fireperc l.fireperc d.dempres l.dempres d.demcong l.demcong d.uniondense l.uniondense d.FIREmob l.FIREmob d.options  l.options d.realnfpgro l.realnfpgro d.inflation l.inflation 

reg d.fireperc l.fireperc d.dempres l.dempres d.cdpercen_01 l.cdpercen_01 d.uniondense l.uniondense d.FIREmob l.FIREmob d.options  l.options d.realnfpgro l.realnfpgro d.inflation l.inflation

**alternative dep var models********

**financial profits as percentage of GDP****

reg d.finprofsofgdp l.finprofsofgdp d.demcont l.demcont d.FIREmob l.FIREmob d.realnfpgro l.realnfpgro d.inflation l.inflation d.options l.options d.uniondense l.uniondense d.capgainsmax l.capgainsmax d.dereg l.dereg

***financial profits as a percentage of corporate profits***

reg d.finprofsperc l.finprofsperc d.demcont l.demcont d.uniondense l.uniondense d.FIREmob l.FIREmob d.realnfpgro l.realnfpgro d.inflation l.inflation d.options l.options d.capgainsmax l.capgainsmax d.dereg l.dereg 

****campaign contribution model (totalconts06doll=total campaign contributions from financial PACs active since 1979)****

reg d.fireperc l.fireperc d.demcont l.demcont d.uniondense l.uniondense d.totalconts06doll l.totalconts06doll d.realnfpgro l.realnfpgro d.inflation l.inflation d.options l.options


***model of how political variables influence deregulation****

 glm d.dereg l.dereg demcont uniondense  inflation realnfpgro FIREmob, family(binomial) link(logit) vce(hac ga)

**** placebo models (informationpec=percentage of GDP from info and telecommunications; transperc=percentage of economy from transportation****
reg d.informationperc l.informationperc d.demcont l.demcont d.uniondense l.uniondense d.FIREmob l.FIREmob d.dereg l.dereg 

reg d.transperc l.transperc d.demcont l.demcont d.uniondense l.uniondense d.FIREmob l.FIREmob d.dereg l.dereg 
